<html class="no-js" xmlns:th="http://www.thymeleaf.org"
	xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
	<body th:fragment="body">
		<script type="text/javascript" th:src="@{'/js/menuInfo/menuInfo.js'}"></script>
		<div class="am-panel am-panel-default">
			<hr/>
			<div class="am-g">
				<div class="am-u-sm-10 am-u-md-8">
					<form id="menuInfo_form" class="am-form am-form-horizontal" method="post">
					
						<div class="am-form-group">
				            <label for="menuId" class="am-u-sm-3 am-form-label">menuId</label>
				            <div class="am-u-sm-9" th:if="${param.menuId} == null">
					            <input type="text" id="menuId" name="menuId" placeholder="menuId" required/>
				            </div>
				            <div class="am-u-sm-9" th:if="${param.menuId} != null">
					            <input type="text" id="menuId" name="menuId" th:value="${param.menuId[0]}" placeholder="" readonly="readonly" />
				            </div>
			            </div>
			            <div class="am-form-group">
				            <label for="menuName" class="am-u-sm-3 am-form-label">menuName</label>
				            <div class="am-u-sm-9">
					            <input type="text" id="menuName" name="menuName" placeholder="menuName" required/>
				            </div>
			            </div>
			            <div class="am-form-group">
				            <label for="parentMenu" class="am-u-sm-3 am-form-label">parentMenu</label>
				            <div class="am-u-sm-9">
					            <input type="text" id="parentMenu" name="parentMenu" placeholder="parentMenu" required/>
				            </div>
			            </div>
			            <div class="am-form-group">
				            <label for="menuUrl" class="am-u-sm-3 am-form-label">menuUrl</label>
				            <div class="am-u-sm-9">
					            <input type="text" id="menuUrl" name="menuUrl" placeholder="menuUrl" required/>
				            </div>
			            </div>
			            <div class="am-form-group">
				            <label for="menuType" class="am-u-sm-3 am-form-label">menuType</label>
				            <div class="am-u-sm-9">
					            <input type="text" id="menuType" name="menuType" placeholder="menuType" required/>
				            </div>
			            </div>
			            <div class="am-form-group">
				            <label for="menuCss" class="am-u-sm-3 am-form-label">menuCss</label>
				            <div class="am-u-sm-9">
					            <input type="text" id="menuCss" name="menuCss" placeholder="menuCss" required/>
				            </div>
			            </div>
			            <div class="am-form-group">
				            <label for="menuPermission" class="am-u-sm-3 am-form-label">menuPermission</label>
				            <div class="am-u-sm-9">
					            <input type="text" id="menuPermission" name="menuPermission" placeholder="menuPermission" required/>
				            </div>
			            </div>
			            <div class="am-form-group">
				            <div class="am-u-sm-9 am-u-sm-push-3">
				            	<button type="button" id="saveOrUpdate" class="am-btn am-btn-primary" th:text="${param.menuId} ? '新增' : '修改'"></button>
				            </div>
			            </div>
					</form>
				</div>
			</div>
		</div>
	</body>
</html>